Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump jsonschema from 3.2.0 to 4.0.0 in /src #58

Merged
merged 1 commit into from
Sep 30, 2021

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Sep 30, 2021

Bumps jsonschema from 3.2.0 to 4.0.0.

Release notes

Sourced from jsonschema's releases.

v4.0.0

  • Partial support for Draft 2020-12 (as well as 2019-09). Thanks to Thomas Schmidt and Harald Nezbeda.
  • False and 0 are now properly considered non-equal even recursively within a container (#686). As part of this change, uniqueItems validation may be slower in some cases. Please feel free to report any significant performance regressions, though in some cases they may be difficult to address given the specification requirement.
  • The CLI has been improved, and in particular now supports a --output option (with plain (default) or pretty arguments) to control the output format. Future work may add additional machine-parsable output formats.
  • Code surrounding DEFAULT_TYPES and the legacy mechanism for specifying types to validators have been removed, as per the deprecation policy. Validators should use the TypeChecker object to customize the set of Python types corresponding to JSON Schema types.
  • Validation errors now have a json_path attribute, describing their location in JSON path format
  • Support for the IP address and domain name formats has been improved
  • Support for Python 2 has been dropped, with python_requires properly set.
  • multipleOf could overflow when given sufficiently large numbers. Now, when an overflow occurs, jsonschema will fall back to using fraction division (#746).
  • jsonschema.__version__, jsonschema.validators.validators, jsonschema.validators.meta_schemas and jsonschema.RefResolver.in_scope have been deprecated, as has passing a second-argument schema to Validator.iter_errors and Validator.is_valid.
Changelog

Sourced from jsonschema's changelog.

v4.0.0

  • Partial support for Draft 2020-12 (as well as 2019-09). Thanks to Thomas Schmidt and Harald Nezbeda.
  • False and 0 are now properly considered non-equal even recursively within a container (#686). As part of this change, uniqueItems validation may be slower in some cases. Please feel free to report any significant performance regressions, though in some cases they may be difficult to address given the specification requirement.
  • The CLI has been improved, and in particular now supports a --output option (with plain (default) or pretty arguments) to control the output format. Future work may add additional machine-parsable output formats.
  • Code surrounding DEFAULT_TYPES and the legacy mechanism for specifying types to validators have been removed, as per the deprecation policy. Validators should use the TypeChecker object to customize the set of Python types corresponding to JSON Schema types.
  • Validation errors now have a json_path attribute, describing their location in JSON path format
  • Support for the IP address and domain name formats has been improved
  • Support for Python 2 has been dropped, with python_requires properly set.
  • multipleOf could overflow when given sufficiently large numbers. Now, when an overflow occurs, jsonschema will fall back to using fraction division (#746).
  • jsonschema.__version__, jsonschema.validators.validators, jsonschema.validators.meta_schemas and jsonschema.RefResolver.in_scope have been deprecated, as has passing a second-argument schema to Validator.iter_errors and Validator.is_valid.
Commits
  • 86e41f3 Style
  • 38b4c60 Remove the added argument to jsonschema.validators.create. ...
  • 1790fcc Make it clear that support for draft2020-12 is partial unfortunately.
  • f91f3ec Merge pull request #841 from hugovk/rm-universal
  • 3da1fcf Ignore build files
  • 97057ed No need to build universal wheels for Python 3-only
  • dbda4f7 Merge pull request #834 from Julian/pre-commit-ci-update-config
  • ff5670c [pre-commit.ci] pre-commit autoupdate
  • 836db7c Deprecate jsonschema.validators.validators and .meta_schemas.
  • 1d275e9 Style
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [jsonschema](https://github.com/Julian/jsonschema) from 3.2.0 to 4.0.0.
- [Release notes](https://github.com/Julian/jsonschema/releases)
- [Changelog](https://github.com/Julian/jsonschema/blob/main/CHANGELOG.rst)
- [Commits](python-jsonschema/jsonschema@v3.2.0...v4.0.0)

---
updated-dependencies:
- dependency-name: jsonschema
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot requested a review from frenck as a code owner September 30, 2021 06:04
@dependabot dependabot bot added dependencies Upgrade or downgrade of project dependencies. python Pull requests that update Python code labels Sep 30, 2021
@frenck frenck merged commit b21bb86 into main Sep 30, 2021
@frenck frenck deleted the dependabot/pip/src/jsonschema-4.0.0 branch September 30, 2021 07:06
@github-actions github-actions bot locked and limited conversation to collaborators Oct 1, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
dependencies Upgrade or downgrade of project dependencies. python Pull requests that update Python code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant